#include<stdio.h>
#define int long long
int max(int i,int j){return(i>j?i:j);}

signed main()
{
	long a,b,c;
	scanf("%d %d %d",&a,&b,&c);
		printf("%d\n",max(max(a+b,a+c),b+c));
	return 0;
}